home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-03-20 | 800 b | 32 lines | [TEXT/MPS ] |
- ;
- ; File: Extension Seg2.a
- ;
- ; Assembly code (jump table) for a printing extension.
- ; Segment #2, to show the use of the GXPRINTINGDISPATCH macro.
- ;
- ; Dave Hersey
- ; Apple Developer Technical Support
- ;
- ; 12/01/92 - dmh - Created.
- ; 4/26/93 - dmh - Updated to use recommended approach
- ; to global data initialization.
- ; 9/05/93 - dmh - Updated for b2.
- ; 12/18/93 - dmh - Updated for b3.
- ; 6/10/94 - dmh - Added GXPRINTINGDISPATCH examples.
- ;
-
- EXPORT EntryPoint2 ; Our main entry point.
- IMPORT SetUpPrintPanel ; Routine to set up our panel.
- IMPORT GetJobCollectionItem ; Routine to return a job collection item.
-
- EntryPoint2 PROC
-
- DC.L 0 ; Reserved for owner count.
-
- JMP SetUpPrintPanel ; (offset = 4)
- JMP GetJobCollectionItem ; (offset = 8)
-
- ENDPROC
-
- END
-